package cc.mrbird.febs.order.service;

import java.util.List;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import cc.mrbird.febs.common.entity.QueryRequest;
import cc.mrbird.febs.order.entity.OrderPay;

/**
 * 订单支付表 Service接口
 *
 * @author Lord
 * @date 2020-06-06 17:07:09
 */
public interface IOrderPayService extends IService<OrderPay> {

    /**
     * 查询（分页）
     *
     * @param request QueryRequest
     * @param orderPay orderPay
     * @return IPage<OrderPay>
     */
    IPage<OrderPay> findOrderPays(QueryRequest request, OrderPay orderPay);

    /**
     * 查询（所有）
     *
     * @param orderPay orderPay
     * @return List<OrderPay>
     */
    List<OrderPay> findOrderPays(OrderPay orderPay);

    /**
     * 新增
     *
     * @param orderPay orderPay
     */
    void createOrderPay(OrderPay orderPay);

    /**
     * 修改
     *
     * @param orderPay orderPay
     */
    void updateOrderPay(OrderPay orderPay);

    /**
     * 删除
     *
     * @param orderPay orderPay
     */
    void deleteOrderPay(OrderPay orderPay);
}
